//
//  PayViewController.m
//  体育商城
//
//  Created by  on 2022/9/24.
//

#import "PayViewController.h"

@interface PayViewController ()
@property (strong, nonatomic) IBOutlet UIImageView *QRcode;
@property (strong, nonatomic) IBOutlet UILabel *name;
@end

@implementation PayViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initUI];
}
- (void)initUI{
    self.title = LS(@"支付");
    [self.view gradient:@[[UIColor colorHex:@"#17E0E6"],[UIColor colorHex:@"#3BACE5"]] :@[@(0),@(1)] :CGPointMake(0.5, 0) :CGPointMake(0.5, 1)];
    self.QRcode.image = [self qr:@"https://www.baidu.com" :[UIColor blackColor] :[UIColor whiteColor]];
}
-(void)backBtnAction{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

@end
